//
//  BankAccountClass.cpp
//  Practice10
//
//  Created by 赵世杰 on 2020/7/11.
//  Copyright © 2020 zhaoshijie. All rights reserved.
//

#include "BankAccountClass.hpp"

#include <iostream>

using namespace std;

/*
class BankAccount
{
    char name[30];
    long account;
    double money;
    
    void setAccount(long acc);
    void storeMoney(double money);
    double takMoney();
    
};
 */



void BankAccount::setAccount(long acc)
{
    account = acc;
}

void BankAccount::storeMoney(double mon)
{
    money = mon;
}

double BankAccount::takMoney()
{
    return money;
}

void BankAccount::showBankInfo()
{
    cout << "Name：" << name << " Account：" << account << " Money：" << money << endl;
}






